package result

import "yi-shou-backstage/model"

type FollowersResponse struct {
    TotalCount int64 `json:"total_count"`
    Page int `json:"page"`
    PerPage int `json:"per_page"`
    Results []model.User `json:"results"`
    ID int `json:"id"`
    Name string `json:"name"`
    Photo string `json:"photo"`
}

type ListImagesResponse struct {
    TotalCount int64 `json:"total_count"`
    Page int `json:"page"`
    PerPage int `json:"per_page"`
    Results []model.Image `json:"results"`
    ID int `json:"id"`
    Url string `json:"url"`
    IsCollect bool `json:"is_collect"`
}

type ListChannelsResponse struct {
    TotalCount int64 `json:"total_count"`
    Channels []model.Channel `json:"channels"`
    ID int `json:"id"`  // 频道id
    Name string `json:"name"`  // 频道名称
}

type ListArticlesResponse struct {
    TotalCount int64 `json:"total_count"`
    Page int `json:"page"`
    PerPage int `json:"per_page"`
    Results []model.Article `json:"results"`
}

type CreateCommentResponse struct {
    ComID int `json:"com_id"`
    Target int `json:"target"`
    ArtID int `json:"art_id"`
}

type PutCommentStickyResponse struct {
    Target int `json:"target"`
    Sticky bool `json:"sticky"`
}